package org.picommo.common;


public enum Direction {

	none(new Vec2(0, 0)),
	north(new Vec2(0, -1)),
	east(new Vec2(1, 0)),
	south(new Vec2(0, 1)),
	west(new Vec2(-1, 0));

	final Vec2 vector;

	public Vec2 getVector() {
		return vector;
	}
	
	public String getName() {
		return this.toString();
	}

	private Direction(final Vec2 v) {
		vector = v;
	}
}
